package com.atwork.wuhua.bean;

import java.util.List;

public class TypesBean {

    /**
     * data : [{"id":"1","name":"足球","thumb":"http://192.168.31.129:10007/upload/type/5bed494f19188.png"},{"id":"2","name":"篮球","thumb":"http://192.168.31.129:10007/upload/type/5bed49463a2b8.png"},{"id":"3","name":"游泳","thumb":"http://192.168.31.129:10007/upload/type/5bed493b42370.png"},{"id":"4","name":"台球","thumb":"http://192.168.31.129:10007/upload/type/5bed4931078d5.png"}]
     * meta : {"total":4,"per_page":999,"total_pages":1,"current_page":1,"count":4,"links":[]}
     */

    private MetaBean meta;
    private List<DataBean> data;

    public MetaBean getMeta() {
        return meta;
    }

    public void setMeta(MetaBean meta) {
        this.meta = meta;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class MetaBean {
        /**
         * total : 4
         * per_page : 999
         * total_pages : 1
         * current_page : 1
         * count : 4
         * links : []
         */

        private int total;
        private int per_page;
        private int total_pages;
        private int current_page;
        private int count;
        private List<?> links;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getTotal_pages() {
            return total_pages;
        }

        public void setTotal_pages(int total_pages) {
            this.total_pages = total_pages;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<?> getLinks() {
            return links;
        }

        public void setLinks(List<?> links) {
            this.links = links;
        }
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 足球
         * thumb : http://192.168.31.129:10007/upload/type/5bed494f19188.png
         */

        private String id;
        private String name;
        private String thumb;
        private boolean isSelect;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
    }
}
